extends "../changchun-3/changchun-3.gd"


var baseId = ""
var upText1 = "导弹伤害提高30%"
var upText2 = "每6秒恢复1枚导弹储备"
func _extInit():
	._extInit()
	lv = 4             #等级的设置
	addSkill("导弹伤害无视50%护甲", "手术刀")

func _onAtkChara(atkInfo):
	._onAtkChara(atkInfo)
	if atkInfo.skill == "导弹":
		atkInfo.penL += 0.5
		if upgraded == 1:
			atkInfo.factor += 0.3

var skIndex4 = 0
func _upS():
	._upS()
	skIndex4 += 1
	if skIndex4 >= 6 and upgraded == 2:		
		missileCap += 1
		skIndex4 = 0